package com.aspose.cells.a.d;

public class zde extends zef {
   private zem a;
   private zej b;

   public zde(zdh var1) throws Exception {
      super(var1);
      this.e = var1;
      this.a = new zem(var1);
      this.b = new zej(var1);
   }

   public void a(zeg var1) throws Exception {
      var1.a(this);
      var1.g();
      var1.a("/Type", "/Catalog");
      var1.a("/Pages", this.a.n());
      if (!this.b.a()) {
         var1.a("/PageMode", "/UseOutlines");
         var1.a("/Outlines", this.b.b());
      }

      if (this.e.b().u()) {
         var1.a("/Metadata", this.e.f().n());
         var1.a("/OutputIntents  [<</Type /OutputIntent/Info (sRGB IEC61966-2.1)/S /GTS_PDFA1/OutputConditionIdentifier (Custom)/DestOutputProfile ");
         var1.a(this.e.g().n());
         var1.a(">>]");
      }

      var1.h();
      var1.b();
      this.a.a(var1);
      this.b.a(var1);
      if (this.e.b().u()) {
         this.e.f().a(var1);
         this.e.g().a(var1);
      }

   }

   public zem a() {
      return this.a;
   }

   public zej b() {
      return this.b;
   }
}
